package cpu.footprint.bean;

import java.io.Serializable;
import java.util.Date;

/**
 * 用户实体
 *
 * @author WJP
 */
public class User implements Serializable {
    private static final long serialVersionUID = 4585215918033435694L;
    private Integer id = 0;// /自增Id
    private String mobilePhone;// 手机号（登录Id）(唯一)
    private int flag = 0;//是否是管理员
    private String uuid;// 环信Id
    private String password;// 登录密码
    private String headPicture;// 头像（存储路径）
    private String nickName;// 昵称
    private String realName;// 真实姓名
    private String sex;// 性别
    private String birthday;// 生日
    private String address;// 地址
    private String email;// 邮箱
    private Date lastLoginTime;// 上次登录时间
    private Date registerTime;// 注册时间
    private String token;// Token
    private String individualSignature;// 个性签名
    private Integer currentlyActiveId = 0;// 当前活动Id

    public User() {
        // TODO Auto-generated constructor stub
    }

    public User(String phone, String pass) {
        this.mobilePhone = phone;
        this.password = pass;
    }

    public Integer getId() {
        return id;
    }

    public int getFlag() {
        return flag;
    }

    public String getUuid() {
        return uuid;
    }

    public String getPassword() {
        return password;
    }

    public String getHeadPicture() {
        return headPicture;
    }

    public String getNickName() {
        return nickName;
    }

    public String getRealName() {
        return realName;
    }

    public String getSex() {
        return sex;
    }

    public String getBirthday() {
        return birthday;
    }

    public String getAddress() {
        return address;
    }

    public String getEmail() {
        return email;
    }

    public Date getLastLoginTime() {
        return lastLoginTime;
    }

    public Date getRegisterTime() {
        return registerTime;
    }

    public String getToken() {
        return token;
    }

    public String getIndividualSignature() {
        return individualSignature;
    }

    public Integer getCurrentlyActiveId() {
        return currentlyActiveId;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public void setMobilePhone(String mobilePhone) {
        this.mobilePhone = mobilePhone;
    }

    public void setFlag(int flag) {
        this.flag = flag;
    }

    public String getMobilePhone() {
        return mobilePhone;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public void setHeadPicture(String headPicture) {
        this.headPicture = headPicture;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public void setLastLoginTime(Date lastLoginTime) {
        this.lastLoginTime = lastLoginTime;
    }

    public void setRegisterTime(Date registerTime) {
        this.registerTime = registerTime;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public void setIndividualSignature(String individualSignature) {
        this.individualSignature = individualSignature;
    }

    public void setCurrentlyActiveId(Integer currentlyActiveId) {
        this.currentlyActiveId = currentlyActiveId;
    }
}
